package wang.naifei.core.utils.office.excel;/*
 * <h3>Title:BS-CRD系统</h3>
 * <p>Copyright (c) 2022, wnfbx@163.com. All rights reserved.</p>
 * @author wnfbx@163.com
 */

import org.apache.poi.ss.usermodel.PictureData;

/**
 * <dt>Description:ImageInExcel</dt>
 * <dd>表格中的图片</dd>
 *
 * @author wnfbx@163.com
 * @version 1.0 <i>2022/5/26 14:46</i>
 * @since jdk1.7+
 */
public class PictureInExcel {
    private int row;
    private int cell;
    private String key;
    private PictureData pictureData;

    public PictureInExcel(int row, int cell, PictureData pictureData) {
        this.cell = cell;
        this.row = row;
        this.key = row + "-" + cell;
        this.pictureData = pictureData;
    }

    public int getRow() {
        return row;
    }

    public void setRow(int row) {
        this.row = row;
    }

    public int getCell() {
        return cell;
    }

    public void setCell(int cell) {
        this.cell = cell;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public PictureData getPictureData() {
        return pictureData;
    }

    public void setPictureData(PictureData pictureData) {
        this.pictureData = pictureData;
    }

}
